package core.input;

import java.util.ArrayList;


public class InputManager{
	
	protected ArrayList<InputReceiver> listInput = new ArrayList<InputReceiver>();
	
	protected InputManager(){
		//Can't Instantiate this class. Need to pass by subclass InputManager2
	}
	
	public void addInputReceiver(InputReceiver o){
		if(o == null){
			return;
		}
		if(!listInput.contains(o)){
			listInput.add(o);
		}
	}
	
	public void removeInputReceiver(InputReceiver o){
		listInput.remove(o);
	}

}
